import {ModuleWithProviders} from "@angular/core"
import {Routes, RouterModule} from '@angular/router';


export const routes: Routes = [
  {
    path: 'user', 
    loadChildren:'app/+api-monitor/+user/user.module#UserModule'
  },
  {
    path: 'config',
    loadChildren:'app/+api-monitor/+config/config.module#ConfigModule'
  },
  {
    path: 'interface',
    loadChildren:'app/+api-monitor/+interface/interface.module#InterfaceModule'
  },
];

export const routing = RouterModule.forChild(routes);
